package com.his.j259w264.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 病人表(Patient)实体类
 *
 * @author EdgeYu
 * @since 2021-09-16 10:15:46
 */

@ApiModel(value = "Patient", description = "病人表")
public class Patient implements Serializable {
    private static final long serialVersionUID = 416476996269603999L;
    /**
     * id
     */
    @ApiModelProperty(name = "id", notes = "id", dataType = "Integer", required = true)
    private Integer id;
    /**
     * 姓名
     */
    @ApiModelProperty(name = "patientName", notes = "姓名", dataType = "String", required = true)
    private String patientName;
    /**
     * 性别
     */
    @ApiModelProperty(name = "sex", notes = "性别", dataType = "Integer", required = true)
    private Integer sex;
    /**
     * 体重
     */
    @ApiModelProperty(name = "weight", notes = "体重", dataType = "Double", required = true)
    private Double weight;
    /**
     * 民族
     */
    @ApiModelProperty(name = "nation", notes = "民族", dataType = "String", required = true)
    private String nation;
    /**
     * 出生日期
     */
    @ApiModelProperty(name = "birthday", notes = "出生日期", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;
    /**
     * 手机号
     */
    @ApiModelProperty(name = "patientPhone", notes = "手机号", dataType = "String", required = true)
    private String patientPhone;
    /**
     * 身份证
     */
    @ApiModelProperty(name = "idCard", notes = "身份证", dataType = "String", required = true)
    private String idCard;
    /**
     * 户籍类型
     */
    @ApiModelProperty(name = "registeredResidenceType", notes = "户籍类型", dataType = "Integer", required = true)
    private Integer registeredResidenceType;
    /**
     * 患者家长姓名
     */
    @ApiModelProperty(name = "parentName", notes = "患者家长姓名", dataType = "String", required = true)
    private String parentName;
    /**
     * 现住址
     */
    @ApiModelProperty(name = "currentAddress", notes = "现住址", dataType = "String", required = true)
    private String currentAddress;
    /**
     * 职业
     */
    @ApiModelProperty(name = "occupation", notes = "职业", dataType = "String", required = true)
    private String occupation;
    /**
     * 工作单位
     */
    @ApiModelProperty(name = "workUnit", notes = "工作单位", dataType = "String", required = true)
    private String workUnit;
    /**
     * 户籍地址
     */
    @ApiModelProperty(name = "permanentAddress", notes = "户籍地址", dataType = "String", required = true)
    private String permanentAddress;
    /**
     * 婚姻状况
     */
    @ApiModelProperty(name = "maritalState", notes = "婚姻状况", dataType = "Integer", required = true)
    private Integer maritalState;
    /**
     * 文化程度
     */
    @ApiModelProperty(name = "maritalEducation", notes = "文化程度", dataType = "Integer", required = true)
    private Integer maritalEducation;
    /**
     * 病人去向
     */
    @ApiModelProperty(name = "whereabouts", notes = "病人去向", dataType = "String", required = true)
    private String whereabouts;


    /**
     * 挂号信息列表
     */
    private List<RegistrationInformation> registrationInformationList;

    /**
     * 病历信息列表
     */
    private List<MedicalRecord> medicalRecordList;

    /**
     * 死亡报告
     */
    private DeathReport deathReport;

    public List<RegistrationInformation> getRegistrationInformationList() {
        return registrationInformationList;
    }

    public void setRegistrationInformationList(List<RegistrationInformation> registrationInformationList) {
        this.registrationInformationList = registrationInformationList;
    }

    public List<MedicalRecord> getMedicalRecordList() {
        return medicalRecordList;
    }

    public void setMedicalRecordList(List<MedicalRecord> medicalRecordList) {
        this.medicalRecordList = medicalRecordList;
    }

    public DeathReport getDeathReport() {
        return deathReport;
    }

    public void setDeathReport(DeathReport deathReport) {
        this.deathReport = deathReport;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPatientPhone() {
        return patientPhone;
    }

    public void setPatientPhone(String patientPhone) {
        this.patientPhone = patientPhone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getRegisteredResidenceType() {
        return registeredResidenceType;
    }

    public void setRegisteredResidenceType(Integer registeredResidenceType) {
        this.registeredResidenceType = registeredResidenceType;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getCurrentAddress() {
        return currentAddress;
    }

    public void setCurrentAddress(String currentAddress) {
        this.currentAddress = currentAddress;
    }

    public String getOccupation() {
        return occupation;
    }

    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    public String getWorkUnit() {
        return workUnit;
    }

    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit;
    }

    public String getPermanentAddress() {
        return permanentAddress;
    }

    public void setPermanentAddress(String permanentAddress) {
        this.permanentAddress = permanentAddress;
    }

    public Integer getMaritalState() {
        return maritalState;
    }

    public void setMaritalState(Integer maritalState) {
        this.maritalState = maritalState;
    }

    public Integer getMaritalEducation() {
        return maritalEducation;
    }

    public void setMaritalEducation(Integer maritalEducation) {
        this.maritalEducation = maritalEducation;
    }

    public String getWhereabouts() {
        return whereabouts;
    }

    public void setWhereabouts(String whereabouts) {
        this.whereabouts = whereabouts;
    }

}
